<!-- index.html -->
<template>
    <div class="coming-soon-container">
      <div class="starry-background"></div>
      <div class="content">
        <h1 class="zoom-text">敬请期待</h1>
        <p class="subtitle">新体验即将上线，敬请关注！</p>
        
        <div class="loading-circle">
          <div class="circle"></div>
        </div>
  
        <!-- <button class="reminder-button" @click="setReminder">提醒我</button> -->
      </div>
    </div>
  </template>
  
  <script>
  export default {
    methods: {
      // 设置提醒按钮
      setReminder() {
        uni.showToast({
          title: '提醒已成功设置！',
          icon: 'success',
        });
      },
    },
  };
  </script>
  
  <style scoped>
  /* 主容器 */
  .coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    font-family: 'Arial', sans-serif;
    position: relative;
  }
  
  /* 动态星空背景 */
  .starry-background {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, #1b2735, #090a0f);
    overflow: hidden;
    animation: animateStarry 100s linear infinite;
  }
  
  @keyframes animateStarry {
    0% { transform: translate(-10%, -10%) rotate(0deg); }
    100% { transform: translate(10%, 10%) rotate(360deg); }
  }
  
  /* 内容框 */
  .content {
    position: relative;
    text-align: center;
    z-index: 1;
  }
  
  /* 缩放文字动画 */
  .zoom-text {
    font-size: 3rem;
    color: #F86316;
    margin-bottom: 1rem;
    animation: zoomInOut 3s ease-in-out infinite;
  }
  
  @keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  /* 副标题样式 */
  .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
  }
  
  /* 加载指示器 */
  .loading-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  
  .circle {
    width: 100%;
    height: 100%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #F86316;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* 提醒按钮 */
  .reminder-button {
    background-color: #F86316;
    color: #333;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 2rem;
    transition: transform 0.3s, background-color 0.3s;
  }
  
  .reminder-button:hover {
    background-color: #e6c250;
    transform: translateY(-3px);
  }
  </style>
  